<template>
  <div>
    <van-icon name="arrow-left" @click="fun()" size=".3rem"/>
    <p>个人中心</p>
  </div>
</template>

<script>
export default {
   methods:{
       fun(){
           this.$router.go(-1)
       }
   }
}
</script>

<style scoped>
    div{
        display: flex;
        height: .4rem;
        align-items: center;
        font-size: .18rem;
        font-weight: 600;
    }
    p{
        margin: 0 auto;
        position: relative;
        right: .1rem;
    }
</style>